#!/data/data/com.termux/files/usr/bin/bash
echo "启动 Termux:X11 服务..."
termux-x11 :1 &
echo "设置 DISPLAY 环境变量..."
export DISPLAY=:1
echo "验证 Termux:X11 服务是否启动成功"
ps aux | grep termux-x11
termux-x11 :1 -legacy-drawing &
termux-x11 :1 -force-bgra &
echo "启动start-debian.sh..."
bash /data/data/com.termux/files/home/start-debian.sh